package com.baizhi.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 
 * 
 * @author chenjf
 * @email 3442748294@qq.com
 * @date 2021-08-28 13:23:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("yx_video")
public class Video implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	@TableId(type = IdType.ASSIGN_ID,value = "id")
	private String id;
	/**
	 * 标题
	 */
	@TableField(value = "title")
	private String title;
	/**
	 * 描述
	 */
	@TableField(value = "description")
	private String description;
	/**
	 * 视频路径
	 */
	@TableField(value = "video_path")
	private String videoPath;
	/**
	 * 图片路径
	 */
	@TableField(value = "cover_path")
	private String coverPath;
	/**
	 * 状态
	 */
	@TableField(value = "status")
	private String status;
	/**
	 * 创建时间
	 */
	@TableField(value = "create_time")
	private Date createTime;
	/**
	 * 二级类别id
	 */
	@TableField(value = "category_id")
	private String categoryId;
	/**
	 * 用户上传id
	 */
	@TableField(value = "user_id")
	private String userId;
	/**
	 * 分组id
	 */
	@TableField(value = "group_id")
	private String groupId;

}
